package com.renge.cmsservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.renge.cmsservice.entity.CrmBanner;
import com.renge.cmsservice.entity.json.BannerQueryJson;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-06-15
 */
public interface CrmBannerService extends IService<CrmBanner> {

    IPage<CrmBanner> getByWrapperPage(Integer current, Integer pagesize, BannerQueryJson bannerQueryJson);

    void deleteCrmBannerById(String crmBannerId);

    List<CrmBanner> IndexfindBanner();
}
